
package com.jgp.glmeeting.ema.util;

public final class EmaConstant {

	/**
	 * 成功
	 */
	public static final String STATE_R000 = "r:000";
	/**
	 * 手机号码是黑名单号码
	 */
	public static final String STATE_R001 = "r:001";
	/**
	 * 手机号码不正确，非法手机号
	 */
	public static final String STATE_R002 = "r:002";
	/**
	 * 账户没有Webservice接口发送权限，请联系管理员
	 */
	public static final String STATE_R003 = "r:003";
	/**
	 * 短信发送失败（由于营运商网关给出了失败的状态报告，所以短信的最终发送状态为发送失败）
	 */
	public static final String STATE_R004 = "r:004";
	/**
	 * 未知错误
	 */
	public static final String STATE_R999 = "r:999";
	/**
	 * 输入参数错误-短信内容为空
	 */
	public static final String STATE_P001 = "p:001";
	/**
	 * 输入参数错误-手机号码数组为空
	 */
	public static final String STATE_P002 = "p:002";
	/**
	 * 输入参数错误-帐号或者密码不正确
	 */
	public static final String STATE_P003 = "p:003";
	/**
	 * 输入参数错误-帐号余额不足
	 */
	public static final String STATE_P004 = "p:004";
	/**
	 * 输入参数错误-超出每日限制发送量
	 */
	public static final String STATE_P005 = "p:005";
	/**
	 * 输入参数错误-一次提交号码数量超过1000
	 */
	public static final String STATE_P006 = "p:006";
	/**
	 * 输入参数错误-业务类型不正确
	 */
	public static final String STATE_P007 = "p:007";
	/**
	 * 输入参数错误-ip鉴权失败
	 */
	public static final String STATE_P008 = "p:008";
	/**
	 * 输入参数错误-短信内容含有敏感词
	 */
	public static final String STATE_P009 = "p:009";
	/**
	 * 输入参数错误-访问频率太快,访问间隔不能小于30秒（获取上行，获取状态报告，获取账户余额时有该限制，发短信则无该限制）
	 */
	public static final String STATE_P010 = "p:010";
	/**
	 * 输入参数错误-输入参数格式不正确，必须是文档中规定的xml格式
	 */
	public static final String STATE_P011 = "p:011";
	/**
	 * 输入参数错误-接口用户未携带签名或签名不正确
	 */
	public static final String STATE_P012 = "p:012";

	/**
	 * 输入参数错误-未能连接到短信平台
	 */
	public static final String STATE_P998 = "p:998";
	public static final String STATE_P998_DES = "未能连接到短信平台";

	/**
	 * 输入参数错误-sdjstInUsing为false，将不发送短信
	 */
	public static final String STATE_P999 = "p:999";

	public static final String STATE_P999_DES = "sdjstInUsing为false，将不发送短信";
}
